//package person.learn.conf.elasticsearch;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;
//import org.springframework.stereotype.Component;
//
///**
// * Created by barton on 16-1-31.
// * 1.具体配置项在application.yml里边
// * 2.测试elasticsearch需要将pom.xml文件相应的依赖，ElasticsearchConfig，StudentService，StudentServiceImpl,
// * StudentServiceImplTest类的注释释放开
// * 3.elasticsearch:https://www.elastic.co/products/elasticsearch
// */
//@Component
//public class ElasticsearchConfig {
//    private ElasticsearchTemplate template;
//
//    @Autowired
//    public ElasticsearchConfig(ElasticsearchTemplate template) {
//        this.template = template;
//    }
//}
